package com.tianji.remark.service;

import com.tianji.remark.dto.LikeRecordFormDTO;
import com.tianji.remark.entity.LikedRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
* @author 墨墨
* @description 针对表【liked_record(点赞记录表)】的数据库操作Service
* @createDate 2024-10-28 20:27:45
*/
public interface LikedRecordService extends IService<LikedRecord> {

    void addLikeRecord(LikeRecordFormDTO dto);

    Set<Long> getLikeStatusByBizIds(List<Long> bizIds);

    void readLikedTimesAndSendMessage(String bizType, int maxBizSize);
}
